package com.shaun.tea.entity;

import com.shaun.tea.config.UUIDGenerator;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class SmallProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    private String sCode = UUIDGenerator.getUUID_18();

    private Integer sStatus = 0;

    private Date createTime = new Date();

    private Date saleTime = new Date();

    private String pCode;

    public SmallProduct(String pCode) {
        this.pCode = pCode;
    }
}
